﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace MessageOutPut
{
    /// <summary>
    /// Summary description for Message
    /// </summary>
    public class Message
    {
	    public Message()
	    {
		    //
		    // TODO: Add constructor logic here
		    //
	    }
        public static string Show(string strmsg)
        {
            //这里0就指strmsg这东西,1就是指\这东西.
            return string.Format("<script language={1}javascript{1}>alert({1}{0}{1});</script>", strmsg, "\"");
        }
    }
}

